From: Florian Müllner Date: Fri, 10 Apr 2015 15:29:17 +0000 (+0200) Subject: messageTray: Make notification banners unfocusable X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1374 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9917f05be88cee9796706a3f45086c94ea57c884;p=gnome-shell.git messageTray: Make notification banners unfocusable Unlike entries in the calendar's message list, banners are not subject to the normal keynav chain, and making the banner actor itself unfocusable allows for the focus to be moved to the action area when expanded. https://bugzilla.gnome.org/show_bug.cgi?id=747205 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 42c559fbb..7d2c3c836 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -508,6 +508,7 @@ const NotificationBanner = new Lang.Class({ _init: function(notification) { this.parent(notification); + this.actor.can_focus = false; this.actor.add_style_class_name('notification-banner'); this._buttonBox = null;